package com.example.service;

import com.example.pojo.Hr;
import java.util.List;

/**
 * @program: personnel-management
 * @description:
 * @author: ChenZhiXiang
 * @create: 2019-07-16 17:05
 **/
public interface IHrService {

    int hrReg(String username, String password);

    List<Hr> getHrsByKeywords(String keywords);

    int updateHr(Hr hr);

    int updateHrRoles(Long hrId, Long[] rids);

    Hr getHrById(Long hrId);

    int deleteHr(Long hrId);

    List<Hr> getAllHrExceptAdmin();

    List<Hr> getAllHr();
}
